const { Service } = require('dx-router-admin');
const { OpendbAppList } = require('dx-func-entity');

module.exports = class App extends Service {
	constructor(ctx) {
		super(ctx);
		this.entity = OpendbAppList;
	}
	async getApplicationList(){
		return await this.field(['appid','name']).select();
	}
}